package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.po.User;
import com.huilian.iotbox.data.po.UserAttribute;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class UserVo extends User implements Serializable {
    private String headImgUrl;
    private String agencyNo;
    private String agencyName;
    private String alias;
    /**
     * 运营商负责人
     */
    private String principal;
    /**
     * 场地数量
     **/
    private Integer storeCount;
    /**
     * 设备总数
     **/
    private Integer deviceCount;
    /**
     * 设备在线总数
     **/
    private Integer deviceOnLineCount;


    /**
     * 运营商数量
     */
    private Integer operatorCount;

    /**
     * 订单Id
     */
    private Long orderId;
    /**
     * 分配的场地数量
     **/
    private Integer siteCount;

    private String roleName;
    private String password;

    private Integer roleId;

    private List<Integer> agencyIdList;
    private List<MerchantStoreVo> merchantStoreVoList;

    private Integer merchantStoreId;
    //多个场地拼接
    private String storeNames;

    /**
     * 子账号
     * */
    private List<UserVo> subAccountList = new ArrayList<>();

    private Boolean temporaryRole;

    private Integer userRoleId;
    private List<Integer> userRoleIdList;
    private  List<UserAttribute> userAttributeList;

    private Boolean newStoreAutoAuthorization;
    private Boolean lockStatus;
}
